:root {
  --el-font-size-base: 15px;
}
* {
  margin: 0;
  outline: none;
  border: none;
  padding: 0;
  list-style: none;
  background-color: transparent;
  text-decoration: none;
  letter-spacing: 0;
  font-family: 'Roboto', sans-serif;
  box-sizing: border-box;
}
body {
  margin: 0;
}
.lms-page-container {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  max-width: 1240px;
}
.pic {
  font-size: 0;
  line-height: 0;
}
.pic .ele {
  width: 100%;
}
main .el-button:not(.is-link):not(.is-circle) {
  color: #fff;
  font-size: 12px;
}
main .el-dialog {
  padding: 0;
  background-color: #fff;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  --el-dialog-margin-top: 3vh;
  --el-dialog-border-radius: 2px;
}
main .el-dialog .el-button:not(.is-link) {
  color: #fff;
  font-size: 12px;
}
main .el-dialog .el-dialog__header {
  border-top: solid 2px #f06423;
  padding: 8px 15px;
  background-color: #27323a;
  flex-shrink: 0;
}
main .el-dialog .el-dialog__header .el-dialog__title {
  color: #fff;
  font-size: 22px;
}
main .el-dialog .el-dialog__body {
  padding: 15px;
  overflow-y: auto;
  flex-grow: 1;
}
main .el-dialog .el-dialog__footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 6px 15px;
  background-color: rgba(0, 0, 0, 0.05);
  background-image: url(@/assets/img/strip1_black8.svg);
  flex-shrink: 0;
}
.card-box {
  margin-bottom: 24px;
  border-radius: 2px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #e3e3e3;
  background-color: #fcfcfc;
  position: relative;
  flex-shrink: 0;
}
.card-box::before {
  content: '';
  width: 38.2%;
  height: 3px;
  background-color: #f06423;
  position: absolute;
  top: -3px;
  right: 0;
}
.card-box .card-title {
  border-bottom: 1px solid #e3e3e3;
  padding: 8px 15px;
  background-color: #f9f9f9;
  background-image: url(@/assets/img/strip2_black8.svg);
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  display: flex;
  align-items: center;
}
.card-box .card-title .el-icon {
  margin-right: 10px;
  line-height: 1;
}
.card-box .card-text {
  padding: 20px 15px;
}
.el-popper.el-dropdown__popper {
  --el-dropdown-menuItem-hover-fill: rgba(240, 100, 35, 0.05);
  --el-dropdown-menuItem-hover-color: #f06423;
}
.el-loading-mask {
  z-index: 99;
}
.el-table {
  font-size: 12px;
  width: 100%;
  --el-table-header-text-color: #000;
  --el-table-text-color: #212529;
}
.el-table a {
  color: #000;
}
.el-table a:hover {
  color: #f06423;
}
.user-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.user-box .user-picture {
  width: 40px;
  height: 40px;
  background-color: #e6e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-box .user-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
}
.user-box .user-info .fullname {
  font-size: 12px;
  color: #262626;
  line-height: 1.25;
}
.user-box .user-info .tools-comms {
  display: flex;
  gap: 3px;
}
.user-box .user-info .tools-comms .el-icon {
  cursor: pointer;
}
.activity-list .list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.activity-list .list .activity-item {
  border: 1px solid #eceeef;
  border-top: 6px solid transparent;
  width: calc(33.33% - 10px);
  background-color: #f9f9f9;
  transition: background-size 0.5s ease-in-out;
  cursor: pointer;
  position: relative;
}
@media screen and (max-width: 768px) {
  .activity-list .list .activity-item {
    width: calc(50% - 10px);
  }
}
.activity-list .list .activity-item::before {
  content: '';
  display: block;
  padding-top: 70%;
}
.activity-list .list .activity-item.video-type {
  border-top-color: #2171d4;
}
.activity-list .list .activity-item.folder-type {
  border-top-color: #ffd700;
}
.activity-list .list .activity-item.quiz-type {
  border-top-color: #ffa500;
}
.activity-list .list .activity-item.report-type {
  border-top-color: #ff4500;
}
.activity-list .list .activity-item.file-type {
  border-top-color: #e54e2b;
}
.activity-list .list .activity-item:hover .item-box img {
  width: 90px;
}
.activity-list .list .activity-item .item-box {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 1;
  padding: 5px 15px;
}
.activity-list .list .activity-item .item-box .type-complete {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.activity-list .list .activity-item .item-box .type-complete .activity-type {
  font-size: 14px;
  color: #808080;
  line-height: 2;
  position: relative;
  z-index: 1;
}
.activity-list .list .activity-item .item-box .activity-tit {
  font-size: 20px;
  color: #565656;
  line-height: 1.6;
  font-weight: normal;
  background-image: linear-gradient(to bottom, #f9f9f9 85%, rgba(249, 249, 249, 0));
  position: relative;
  z-index: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .activity-list .list .activity-item .item-box .activity-tit {
    font-size: 18px;
    line-height: 1.3;
  }
}
.activity-list .list .activity-item .item-box img {
  width: 70px;
  transition: width 0.35s ease-in-out;
  position: absolute;
  top: 67%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.activity-list .list .activity-item .item-box.disabled {
  cursor: auto;
}
.activity-list .list .activity-item .item-box.disabled::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 2;
}
.over-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pagination-box {
  margin-top: 15px;
  display: flex;
  justify-content: flex-end;
}
.pagination-box .el-pagination .el-pager li {
  cursor: pointer;
}
.pagination-box .el-pagination .el-pager li:hover {
  color: #f06423;
}
.pagination-box .el-pagination .el-pager li.is-active {
  background-color: #f06423 !important;
  color: #fff;
}
.pagination-box .el-pagination button.is-active,
.pagination-box .el-pagination button:hover {
  color: #f06423;
}
/* 针对手机端（屏幕宽度 < 768px）的样式 */
@media screen and (max-width: 768px) {
  .mobile-dialog {
    --el-dialog-width: 95% !important;
    /* 覆盖默认宽度变量 */
    max-width: 95% !important;
    /* 限制最大宽度 */
  }
}
